<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/21/021
 * Time: 21:40
 */

namespace app\api\validate;


class BannerValidate extends BaseValidate {

    protected $rule = [
        'name' => 'require',
        'image' => 'require',
        'link' => 'require',
    ];


    protected $message=[
        'name.require' => '活动名称不能为空',
        'image.require' => '请上传活动图片',
        'link.require' => 'banner跳转链接不能为空',
    ];
}